import urllib
def getHtml(url)
    page=urllib.urlopen(url)
    html=page.read()
    return html
html=getHtml("http://tieba.baidu.com/p/3686146037")
print html
